package com.zsix.system.mapper.processDefinitionMapper;

import com.zsix.common.dto.controllerParams.RuleOverDue;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface RuleOverDueMapper {
    /**
     * 获取逾期预警
     * @param targetId
     * @return
     */
    RuleOverDue getRuleOverDue(@Param("targetId") String targetId);

    /**
     * 设置逾期预警
     * @param ruleOverDue
     * @return
     */
    int setRuleOverDue(RuleOverDue ruleOverDue);

    /**
     * 删除逾期预警
     * @param targetId
     * @return
     */
    int deleteRuleOverDue(@Param("targetId") String targetId);
}
